package com.paradogs.framework.core.netty;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: yumi
 * @date: 2023/8/1  9:15
 * @Description: TODO
 * 待优化：加上注释和用法
 */
@Data
@Component
@ConfigurationProperties("paradogs.protocoal")
public class ProtocolProperties {

    private int maxFrameLength = 65534;

    private int lengthFieldOffset = 0;

    private int lengthFieldLength = 2;

    private int lengthAdjustment = 0;

    private int initialBytesToStrip = 2;

}
